package eu.jpereira.trainings.designpatterns.creational.abstractfactory.xml;

import eu.jpereira.trainings.designpatterns.creational.abstractfactory.*;

public class XMLReportFactory extends AbstractReportFactory {
	
	public Report createReport() {
		Report XMLReport = new Report("XML");
		XMLReport.setFooter(new XMLReportFooter());
		XMLReport.setHeader(new XMLReportHeader());
		XMLReport.setBody(new XMLReportBody());
		
		return XMLReport;
	}
}
